package Array;

public class ArrayExample02 {
    public static void main(String[] args) {
        int [] arr;
        arr = new int[10];
        arr[0] = 1;
        arr[1] = 2;

        int [] arr2 ;
        arr2 = new int[10];
        arr2[1] = 1;
        arr2[2] = 2;

        System.out.println(arr);
        System.out.println(arr2);
        System.out.println("arr数组的长度"+arr.length);
    }
}
